from django.db import models

# Create your models here.
class OauthUser(models.Model):
    QAUTHTYPE = (('1','weibo'),('2','weixin'))
    uid = models.CharField('三方用户id',max_length=64)
    user = models.ForeignKey('user.User',on_delete=models.CASCADE)
    oauth_type = models.CharField(max_length=10,choices=QAUTHTYPE)
